3.16 \(\int \log ^p(c (d+e x)) \, dx\)

Optimal. Leaf size=45 \[ \frac {(-\log (c (d+e x)))^{-p} \log ^p(c (d+e x)) \Gamma (p+1,-\log (c (d+e x)))}{c e} \]

[Out]

GAMMA(1+p,-ln(c*(e*x+d)))*ln(c*(e*x+d))^p/c/e/((-ln(c*(e*x+d)))^p)

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {2389, 2299, 2181} \[ \frac {(-\log (c (d+e x)))^{-p} \log ^p(c (d+e x)) \text {Gamma}(p+1,-\log (c (d+e x)))}{c e} \]

Antiderivative was successfully verified.

[In]

Int[Log[c*(d + e*x)]^p,x]

[Out]

(Gamma[1 + p, -Log[c*(d + e*x)]]*Log[c*(d + e*x)]^p)/(c*e*(-Log[c*(d + e*x)])^p)

Rule 2181

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> -Simp[(F^(g*(e - (c*f)/d))*(c +
d*x)^FracPart[m]*Gamma[m + 1, (-((f*g*Log[F])/d))*(c + d*x)])/(d*(-((f*g*Log[F])/d))^(IntPart[m] + 1)*(-((f*g*
Log[F]*(c + d*x))/d))^FracPart[m]), x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rule 2299

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_), x_Symbol] :> Dist[1/(n*c^(1/n)), Subst[Int[E^(x/n)*(a + b*x)^p
, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[1/n]

Rule 2389

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rubi steps

\begin {align*} \int \log ^p(c (d+e x)) \, dx &=\frac {\operatorname {Subst}\left (\int \log ^p(c x) \, dx,x,d+e x\right )}{e}\\ &=\frac {\operatorname {Subst}\left (\int e^x x^p \, dx,x,\log (c (d+e x))\right )}{c e}\\ &=\frac {\Gamma (1+p,-\log (c (d+e x))) (-\log (c (d+e x)))^{-p} \log ^p(c (d+e x))}{c e}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 45, normalized size = 1.00 \[ \frac {(-\log (c (d+e x)))^{-p} \log ^p(c (d+e x)) \Gamma (p+1,-\log (c (d+e x)))}{c e} \]

Antiderivative was successfully verified.

[In]

Integrate[Log[c*(d + e*x)]^p,x]

[Out]

(Gamma[1 + p, -Log[c*(d + e*x)]]*Log[c*(d + e*x)]^p)/(c*e*(-Log[c*(d + e*x)])^p)

________________________________________________________________________________________

fricas [A]  time = 0.69, size = 26, normalized size = 0.58 \[ \frac {\cos \left (\pi p\right ) \Gamma \left (p + 1, -\log \left (c e x + c d\right )\right )}{c e} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(e*x+d))^p,x, algorithm="fricas")

[Out]

cos(pi*p)*gamma(p + 1, -log(c*e*x + c*d))/(c*e)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \log \left ({\left (e x + d\right )} c\right )^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(e*x+d))^p,x, algorithm="giac")

[Out]

integrate(log((e*x + d)*c)^p, x)

________________________________________________________________________________________

maple [F]  time = 0.06, size = 0, normalized size = 0.00 \[ \int \ln \left (\left (e x +d \right ) c \right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(ln((e*x+d)*c)^p,x)

[Out]

int(ln((e*x+d)*c)^p,x)

________________________________________________________________________________________

maxima [A]  time = 1.06, size = 53, normalized size = 1.18 \[ -\frac {\left (-\log \left (c e x + c d\right )\right )^{-p - 1} \log \left (c e x + c d\right )^{p + 1} \Gamma \left (p + 1, -\log \left (c e x + c d\right )\right )}{c e} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(e*x+d))^p,x, algorithm="maxima")

[Out]

-(-log(c*e*x + c*d))^(-p - 1)*log(c*e*x + c*d)^(p + 1)*gamma(p + 1, -log(c*e*x + c*d))/(c*e)

________________________________________________________________________________________

mupad [B]  time = 0.18, size = 45, normalized size = 1.00 \[ \frac {{\ln \left (c\,\left (d+e\,x\right )\right )}^p\,\Gamma \left (p+1,-\ln \left (c\,\left (d+e\,x\right )\right )\right )}{c\,e\,{\left (-\ln \left (c\,\left (d+e\,x\right )\right )\right )}^p} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(log(c*(d + e*x))^p,x)

[Out]

(log(c*(d + e*x))^p*igamma(p + 1, -log(c*(d + e*x))))/(c*e*(-log(c*(d + e*x)))^p)

________________________________________________________________________________________

sympy [A]  time = 6.94, size = 54, normalized size = 1.20 \[ \begin {cases} \tilde {\infty }^{p} x & \text {for}\: c = 0 \\x \log {\left (c d \right )}^{p} & \text {for}\: e = 0 \\\frac {\left (- \log {\left (c d + c e x \right )}\right )^{- p} \log {\left (c d + c e x \right )}^{p} \Gamma \left (p + 1, - \log {\left (c d + c e x \right )}\right )}{c e} & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(ln(c*(e*x+d))**p,x)

[Out]

Piecewise((zoo**p*x, Eq(c, 0)), (x*log(c*d)**p, Eq(e, 0)), ((-log(c*d + c*e*x))**(-p)*log(c*d + c*e*x)**p*uppe
rgamma(p + 1, -log(c*d + c*e*x))/(c*e), True))

________________________________________________________________________________________